package util;

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;

public class AlertUtil {
	
	
	public static void getAlert(Context context,String message){
		//AlertDialog.Builder  ald = new AlertDialog.Builder(context);
		//ald.set
		
		AlertDialog.Builder builder = new AlertDialog.Builder(context);
		builder.setMessage(message)
		       .setCancelable(false)		       
		       .setNegativeButton("OK", new DialogInterface.OnClickListener() {
		           public void onClick(DialogInterface dialog, int id) {      	   
		        	    dialog.cancel();		                
		           }
		       });
		AlertDialog alert = builder.create();		
		alert.show();
	}

	
}
